all: linux

remake: clean all

mac:
	g++ Main.cpp GLSL_helper.cpp MStackHelp.cpp GeometryCreator.cpp \
	prime.cpp hash.cpp kernel.cpp Plane.cpp Sphere.cpp Box.cpp \
	-DGL_GLEXT_PROTOTYPES -framework OpenGL -framework GLUT -o GeomDemo

linux:
	g++ -g Main.cpp GLSL_helper.cpp MStackHelp.cpp GeometryCreator.cpp prime.cpp \
	hash.cpp kernel.cpp Plane.cpp Sphere.cpp Box.cpp \
	-DGL_GLEXT_PROTOTYPES -lGL -lGLU -lglut -o GeomDemo

clean:
	rm -f *~
	rm -f GeomDemo
	rm -f *.o

